<?php
class jfAsyncJavascriptLoader extends jfAsyncLoader {
	
	protected function supportsCallbacks() {
		return true;
	}
	
	protected function setIncluded() {
		sfConfig::set('symfony.asset.javascripts_included', true);
	}
	
	protected function getSourceFilesForPosition($position) {
		return sfContext::getInstance()->getResponse()->getJavascripts($position);
	}
	
}